//
//  CourseWordsManager.m
//  JPWords
//
//  Created by 梁淑婷 on 2024/6/28.
//

#import "CourseWordsListManager.h"

@implementation CourseWordsListManager

- (NSString *)methodName{
    return @"/system/user/word/app/getList";
}

- (JPAPIManagerRequestType)requestType{
    return JPAPIManagerRequestTypeGET;
}

- (NSDictionary *)paramsForApi:(JPAPIBaseManager *)manager{
    NSMutableDictionary *dict = @{}.mutableCopy;
    dict[@"type"] = self.type;
    dict[@"courseId"] = self.courseId;
    NSString *userId = [[NSUserDefaults standardUserDefaults]objectForKey:@"userId"];
    dict[@"userId"] = userId;
    return dict;
}

@end
